@import './custom.less';

@content0: content0;

.@{content0} {
  &_img {
    height: 100%;
    width: 40%;
    overflow: hidden;
    position: absolute;
    left: 0;
    span {
      display: inline-block;
      /* position: absolute; */
      width: 55%;
      right: 10%;
      line-height: 50vh;
      height: 50vh;
      margin: auto;
      top: 0;
      bottom: 0;
      img {
        vertical-align: middle!important;
        height: 4rem;
        width: 3.5rem;
      }
    }
  }
  &_templates_wrapper {
    user-select: none;
  }
  &_text {
    display: block;
    width: 55%;
    /* height: 1.5rem; */
    vertical-align: top;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 0;
    & p, & h1 {
      position: relative !important;
      width: 75%;
    }
    & h1 {
      font-size: 32px;
      font-weight: normal;
      color: #404040;
    }
    & p {
      margin-top: 20px;
      font-size:0.3rem;
    }
  }
}

@media screen and (max-width: 1300px) {
  .@{content0}_wrapper {
    height:100%;
    .@{content0} {
      overflow: hidden;
      width: 90%;
      margin: auto;
      &_img, &_text {
        width: 100%;
        display: block;
        position: relative;
        text-align: center;
      }
      &_img {
        height: auto;
        margin: 20px auto;
        span {
          right: 0;
          left: 0;
          margin:0 auto;
          /* width: 1.8rem; */
          height: 100%;
          line-height: 2rem;
        }
      }
      &_text {
        /* margin-top:3rem; */
        /* height: 1.4rem; */
        margin-bottom: 0.2rem;
        p, h1 {
          width: 100%;
          top: auto;
        }
        h1{
          margin: 10px auto;
          font-size: 0.48rem;
        }
      }
    }
  }
}